package com.xialinrui.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xialinrui.entity.Summary;
import com.xialinrui.mapper.SummaryMapper;
import com.xialinrui.service.SummaryService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author xialinrui
 */
@Service
public class SummaryServiceImpl extends ServiceImpl<SummaryMapper, Summary> implements SummaryService {
    @Resource
    private SummaryMapper summaryMapper;

    @Override
    public void add(Summary summary) {
        summaryMapper.insert(summary);
    }
}
